{template "header.html"}
<!--首页导航-->
{template "index-fanhui-10.html"}
{template "fanhui.html"}
{php $huodongshuxing = \Phpcmf\Service::M()->db->table('1_quan_form_son')->where('id', $_GET['tid'])->get()->getRowArray();}
<div class="d-kuan d-yincang d-shang-12"></div>

<form action="" class="" method="post" name="myform" id="myform">
	{$form}
	<div class="d-container " style="background-color: {$beijingyanse};">
		<div class="d-row ">
			
			<div class="d-col-md-10-juzhong" id="question-submit">
				{php $inhuodongfufei = \Phpcmf\Service::M()->db->table('1_quan_huodong_buy')->where('tid', $_GET['tid'])->where('uid', $member.uid)->get()->getRowArray();}
				{if $huodongshuxing['hdfs'] == 4}
				    
					{if $inhuodongfufei}
					    <div class="d-kuan d-neikuang-10 d-xia-10">
					    	您已经支付：<span class="d-zitiyanse-hongse">{$inhuodongfufei['feiyong']}</span> 元 ，请填写报名信息
					    </div>
					{else}
					<div class="d-kuan d-neikuang-10 d-xia-10">
						报名需要支付：<span class="d-zitiyanse-hongse">{$huodongshuxing['hdfy']}</span> 元
					</div>
					{/if}
					{if $huodongshuxing['hdfy'] > 0}
					<!--div class="d-kuan d-neikuang-10 d-xia-10">
						您的余额：<span class="d-zitiyanse-hongse">{number_format($member.money, 2)}</span> 元  <a class="" onclick="javascript:d_huodong_chongzhi();">【PC充值】</a> | <a href="{dr_member_url('pay/recharge/index')}" class="" >【H5充值】</a>
					</div>
					<div class="d-kuan d-neikuang-10 d-xia-10">
						报名需要支付：<span class="d-zitiyanse-hongse">{$huodongshuxing['hdfy']}</span> 元
					</div-->
					{/if}
				{elseif $huodongshuxing['hdfs'] == 5}
					{if $huodongshuxing['huodongjifen'] > 0}
						<div class="d-kuan d-neikuang-10 d-xia-10">
							您的{SITE_SCORE}：<span class="d-zitiyanse-hongse">{$member.score}</span> {SITE_SCORE}  
						</div>
						<div class="d-kuan d-neikuang-10 d-xia-10">
						报名需要{SITE_SCORE}：<span class="d-zitiyanse-hongse">{$huodongshuxing['huodongjifen']}</span> {SITE_SCORE}  
						</div>
					{/if}
				{elseif $huodongshuxing['hdfs'] == 1}
					<div class="d-kuan d-neikuang-10 d-xia-10">
						<span class="d-zitiyanse-hongse">线下免费活动</span>
					</div>
				{elseif $huodongshuxing['hdfs'] == 2}
					<div class="d-kuan d-neikuang-10 d-xia-10">
						线下付费活动，活动费用<span class="d-zitiyanse-hongse">{$huodongshuxing['hdfy']}</span> 元
					</div>
				{elseif $huodongshuxing['hdfs'] == 3}
					<div class="d-kuan d-neikuang-10 d-xia-10">
						<span class="d-zitiyanse-hongse">线上免费活动</span>
					</div>
				{/if}
				{$myfield}

				<div class="d-clear"></div>
				{if $is_post_code}
				    <div class="d-form-group" id="dr_row_code">
				        <label class="control-label col-md-2"><span class="required" aria-required="true"> * </span> {dr_lang('验证码')}</label>
				        <div class="col-md-2">
				            <label>
				                <div class="form-recaptcha">
				                    <div class="input-group">
				                        <input type="text" id="dr_code" class="form-control" name="code">
				                        <div class="input-group-btn fc-code">
				                            {dr_code(120, 35)}
				                        </div>
				                    </div>
				                </div>
				            </label>
				        </div>
				    </div>
				    {/if}
					<div class="d-clear"></div>
			</div>
		</div>
		<div class="d-clear"></div>
		<div class="d-kuan d-gao-80"></div>
	</div>
	<div class="d-clear"></div>
	<div class=" form myfooter-0 d-dibu-fabu">
	    <div class="d-neikuang-15 text-center">
	        <label><button type="button" style="width: 200px;" onclick="$('#dr_is_draft').val(0);dr_ajax_submit('{dr_now_url()}', 'myform', '0','/index.php?s={MOD_DIR}&c=son&id={$_GET['tid']}')" class="btn btn-lg yanse">  {dr_lang('报 名')}</button></label>
	        <!--label><button type="button" onclick="$('#dr_is_draft').val(0);dr_ajax_submit('{dr_now_url()}', 'myform', '2000', '{$reply_url}')" class="btn yellow"> <i class="fa fa-mail-reply-all"></i> {dr_lang('保存并返回')}</button></label-->
	    </div>
	</div>
</form>
<script>
function dr_m_fabu2() {
	$('.d-dibu-fabu').hide();
}
function d_huodong_chongzhi() {
    dr_iframe("{dr_lang('活动报名充值')}", "{dr_member_url('pay/recharge/index')}", '100%', '100%');
}
</script>
<style>

	{if $qingchunkaiqi}

	.yanse {
		color: #FFF;
		background-color: {$qingchunzhuse};
		border-color: {$qingchunzhuse};
	}
	{else}
	.yanse {
		color: #FFF;
		background-color: #11d2b5;
		border-color: #11d2b5;
	}
	{/if}
	.portlet.light.bordered {
	    border: 1px solid #f3f4f7!important;
	}
	.portlet.light {
	    padding: 12px 20px 15px;
	    background-color: #f3f4f7;
	}
	{if $huodongshuxing['hdwxh'] == 1}
	#dr_row_weixinhao {
		display: none;
	}
	{/if}
	{if $huodongshuxing['hdsjh'] == 1}
	#dr_row_shoujihaoma {
		display: none;
	}
	{/if}
	{if $huodongshuxing['sctp'] == 1}
	#dr_row_tupian {
		display: none;
	}
	{/if}
	{if $huodongshuxing['scfj'] == 1}
	#dr_row_wenjian {
		display: none;
	}
	{/if}
	#dr_tid {
		width: 100% !important;
	}
	.form .form-actions, .portlet-form .form-actions {
	    padding: 15px;
	    margin: 0;
	    background-color: #f5f5f5;
	    border-top: 1px solid #e7ecf1;
		
	}
	.preview {
	    height: 60px;
	    border: 1px solid #f5f5f5;
	}
	
	.dr_row_quanbu {
		/*display: none;*/
	}
	.form-group {
	    margin-bottom: 15px;
		clear:both;
		/*height: 50px;*/
	}
	.d_name_shoujihaoma {
		
	}
	.form-control {
	    display: block;
	    width: 100%;
	    height: 50px;
	    padding: 6px 12px;
	    font-size: 16px;
	    line-height: 1.42857143;
	    color: #555555;
	    background-color: #ffffff;
	    background-image: none;
	    border: 1px solid #ffffff;
	    border-radius: 5px;
	    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	}
	.form-control:hover {
	    display: block;
	    width: 100%;
	    height: 50px;
	    padding: 6px 12px;
	    font-size: 16px;
	    line-height: 1.42857143;
	    color: #555555;
	    background-color: #dadbdd;
	    background-image: none;
	    border: 1px solid #dadbdd;
	    border-radius: 4px;
	    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	}
	select {
	    font-weight: normal;
	    display: block;
	    white-space: nowrap;
	    min-height: 1.2em;
	    padding: 0px 2px 1px;
		border: 1px solid #f3f4f7;
		border-radius: 4px;
	}
	.form-horizontal .form-group {
	    margin-left: 0px;
	    margin-right: 0px;
		margin-bottom: 15px;
	}
	.btn-default {
	    color: #333;
	    background-color: #f5f5f5;
	    border-color: #f5f5f5;
	}
	.panel-default>.panel-heading {
	    color: #333;
	    background-color: #ffffff;
	    border-color: #f5f5f5;
	}
	.note-editor .note-toolbar {
	    border-bottom: 1px solid #ffffff;
	    -webkit-border-radius: 4px 4px 0 0;
	    -moz-border-radius: 4px 4px 0 0;
	    -ms-border-radius: 4px 4px 0 0;
	    -o-border-radius: 4px 4px 0 0;
	    border-radius: 4px 4px 0 0;
	}
	.note-editor.note-frame .note-editing-area .note-editable, .note-editor.note-airframe .note-editing-area .note-editable {
	    padding: 10px;
	    overflow: auto;
	    word-wrap: break-word;
	    background-color: #f8f8f8;
		border-radius: 10px;
		font-size: 16px;
	}
	.note-editor.note-frame, .note-editor.note-airframe {
	    border: 1px solid #ffffff;
	    border-radius: 4px;
	}
	.note-editor.note-frame .note-status-output:empty, .note-editor.note-airframe .note-status-output:empty {
	    height: 0;
	    border-top: 0 solid transparent;
		display: none;
	}
	.note-editor.note-frame .note-statusbar .note-resizebar, .note-editor.note-airframe .note-statusbar .note-resizebar {
	    padding-top: 1px;
	    height: 9px;
	    width: 100%;
	    cursor: ns-resize;
		display: none;
	}
	.note-editor.note-frame .note-statusbar, .note-editor.note-airframe .note-statusbar {
	    background-color: #ffffff;
	    border-bottom-left-radius: 4px;
	    border-bottom-right-radius: 4px;
	    border-top: 1px solid #ffffff;
		display: none;
		
	}
	#dr_row_shenhe {
		display: none;
	}
	#dr_row_xiazaizu {
		display: none;
	}
	#dr_row_fufeizu{
		display: none;
	}
	#dr_row_shezhizu{
		display: none;
	}
	.mt-checkbox-inline {
		/*display: none;*/
	}
	.note-style {
		display: none;
	}
	.note-font {
		display: none;
	}
	.note-fontname {
		display: none;
	}
	.note-color {
		display: none;
	}
	.note-para {
		display: none;
	}
	.note-table {
		display: none;
	}
	.note-attach {
		display: none;
	}
	.note-video {
		/**display: none;*/
	}
	.note-view {
		display: none;
	}
	#dr_row_syzs {
		display: none;
	}
	.d-dibu-fabu {
	    position: fixed;
	    bottom: 0;
	    z-index: 1000;
	    /* display: -webkit-box; */
	    /* display: -webkit-flex; */
	    /* display: flex; */
	    width: 100%;
	    /*background-color: #f3f4f7;
	    box-shadow: 0 0 0 rgb(0 0 0 / 0%);*/
	}

</style>
{template "mfooter.html"}